fix spec

Andrew Cantino 11 years ago
parent
commit
4851a7aad3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spec/models/agents/human_task_agent_spec.rb

+ 1 - 0
spec/models/agents/human_task_agent_spec.rb

@@ -112,6 +112,7 @@ describe Agents::HumanTaskAgent do
112 112
       @checker.options[:take_majority] = "true"
113 113
       @checker.should_not be_valid
114 114
       @checker.options[:hit][:questions][1][:type] = "selection"
115
+      @checker.options[:hit][:questions][1][:selections] = @checker.options[:hit][:questions][0][:selections]
115 116
       @checker.should be_valid
116 117
     end
117 118
   end